home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Columbia Kermit
/
kermit.zip
/
newsgroups
/
misc.19970626-19970929
/
000201_news@newsmaster….columbia.edu _Tue Aug 19 18:09:04 1997.msg
< prev
next >
Wrap
Internet Message Format
|
2020-01-01
|
2KB
Return-Path: <news@newsmaster.cc.columbia.edu>
Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.35.30])
by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id SAA25487
for <kermit.misc@watsun.cc.columbia.edu>; Tue, 19 Aug 1997 18:09:04 -0400 (EDT)
Received: (from news@localhost)
by newsmaster.cc.columbia.edu (8.8.5/8.8.5) id SAA29063
for kermit.misc@watsun; Tue, 19 Aug 1997 18:09:03 -0400 (EDT)
Path: news.columbia.edu!watsun.cc.columbia.edu!fdc
From: fdc@watsun.cc.columbia.edu (Frank da Cruz)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: "shebang" help
Date: 19 Aug 1997 22:09:01 GMT
Organization: Columbia University
Lines: 26
Message-ID: <5td5ht$41d$1@apakabar.cc.columbia.edu>
References: <33F9CF57.740BF0D6@ttsg.com> <5tckvg$oqd$1@apakabar.cc.columbia.edu> <33FA0D90.5E4B856@ttsg.com>
NNTP-Posting-Host: watsun.cc.columbia.edu
Xref: news.columbia.edu comp.protocols.kermit.misc:7509
In article <33FA0D90.5E4B856@ttsg.com>, TTSG <ttsg@ttsg.com> wrote:
: I'd like to have the number to dial in a file so I can change it via a
: web page. In shell, I could `cat /tmp/waldo` to bring information into
: a command, but alas :
:
: dial `cat /tmp/waldo`
:
: doesn't.
:
: Will I need to do something like :
:
: open read /tmp/waldo
: read line
: close read
: dial \m(line)
:
: To get it to do what I want?
:
The next release of C-Kermit will have a more convenient construct, but
the above should work in any version since 1992 (of course you also want to
add "if failure" checks after the OPEN and READ commands).
Or you could have it "dial foo", where "foo" is a dialing directory entry,
and you can edit the dialing directory if you want.
- Frank